package org.dromara.easyai.extensions.solon.test;

import org.noear.solon.Solon;
import org.noear.solon.annotation.SolonMain;

/**
 * @author: wen.y
 * @date: 2025/6/23
 */
@SolonMain
public class App {
	public static void main(String[] args) {
		Solon.start(App.class, args, app -> {
			System.out.println("java.io.tmpdir default:" + System.getProperty("java.io.tmpdir"));
			String val = Solon.cfg().argx().get("tmpDir");
			if (null != val && !val.isEmpty()) {
				System.setProperty("java.io.tmpdir", val);
			}
		});
	}

}
